package com.atguigu.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @Description TODO
 * @Author 69003
 * @Date 2020/5/21 17:42
 */
@SpringBootApplication
@EnableDiscoveryClient //注册到eureka
@EnableConfigServer //说明是一个配置微服务
public class ConfigServerMain9999 {
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerMain9999.class,args);
    }
}
